package com.example.test.agent.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.*;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 角色表(Role)实体类
 *
 * @author makejava
 * @since 2021-05-20 19:53:09
 */
@Data
@ApiModel("角色表")
@TableName("role")
public class Role implements Serializable {


    @ApiModelProperty("角色ID")
    @TableId(type = IdType.AUTO)
    private Integer roleId;


    @ApiModelProperty("角色名称")
    private String roleName;


    @ApiModelProperty("路由集合")
    private String routes;


    @ApiModelProperty("状态，1=启用，0=未启用")
    private Integer status;

}
